from .settings import *

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False

ALLOWED_HOSTS = ['*']

CORS_ALLOW_ALL_ORIGINS = True
# 允许cookies跨域
CORS_ALLOW_CREDENTIALS = True

CELERY_BROKER_URL = 'redis://:zqc_redis@39.101.141.162:6379/0'


DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        # 'zqc_db'/39.101.141.162
        'HOST': 'zqc_db',
        'PORT': 3306,
        'USER': 'root',
        'PASSWORD': 'zqc_db',
        'NAME': 'blackbag',
    }
}